package com.xinzhi.model;

import com.baomidou.mybatisplus.annotation.IdType;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author laohan
 * @since 2024-01-08
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="YfsRooms对象", description="")
public class YfsRooms implements Serializable {

private static final long serialVersionUID=1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    private String uuid;

    @ApiModelProperty(value = "活动id")
    private Integer activityId;

    @ApiModelProperty(value = "房间编号")
    private Integer number;

    @ApiModelProperty(value = "第几箱")
    private Integer num;

    @ApiModelProperty(value = "房间库存")
    private Integer stock;

    @ApiModelProperty(value = "房间销量")
    private Integer sales;

    @ApiModelProperty(value = "抽出的次数，1为第一次")
    private Integer openIndex;

    @ApiModelProperty(value = "抽出记录")
    private String openRecords;

    @ApiModelProperty(value = "房间内sku销量和库存")
    private String skuOptions;

    private Date deletedAt;

    private Date createdAt;

    private Date updatedAt;

    @ApiModelProperty(value = "已出免单次数")
    private Integer freeOrderSales;

    @ApiModelProperty(value = "用户抽取记录")
    private String userRecords;


}
